<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script>
			var month=prompt("请输入月份")
			if(month==1||month==2||month==3){
				alert("第一季度")
			}else if(month==4||month==5||month==6){
				alert("第二季度")
			}else if(month==7||month==8||month==9){
				alert("第三季度")
			}else if(month==10||month==11||month==12){
				alert("第四季度")
			}else{
				alert("请输入月份")
			}
		</script>
	</body>
</html>
